<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .img{
            width: 236px;
            height: 325px;
            margin: auto;
        }
        img{
            position: absolute;
        }
        .jd{
            color: aqua;
            font-size: 35px;
            width: 190px;
            text-align: center;
            position: absolute;
        }
        .t{
            color: aqua;
            font-size: 20px;
            width: 200px;
            text-align: center;
            position: absolute;
            top: 170px;
        }
        .n1{
            width: 40px;
            height: 40px;
            background-color:blue;
            top: 200px;
        }
        .d1{
            width: 30px;
            height: 37px;
            position: absolute;
            top: 200px;
            margin-left: 50px;
        }
        .n2{
            width: 40px;
            height: 40px;
            background-color: blue;
            position: absolute;
            top: 200px;
            margin-left: 70px;
        }
        .d2{
            width: 30px;
            height: 37px;
            position: absolute;
            top: 200px;
            margin-left: 100px;
        }
        .n3{
            width: 40px;
            height: 40px;
            background-color: blue;
            position: absolute;
            top: 200px;
            margin-left: 120px;
        }
    </style>
</head>
<body>
    <div class="img">
        <img src="jd.png" alt="">
        <label for="" class="jd">京东秒杀</label>
        <label for="" class="t">10:00场距结束</label>
        <span class="n1">00</span>
        <span class="d1">:</span>
        <span class="n2">50</span>
        <span class="d2">:</span>
        <span class="n3">50</span>
    </div>
    <script>
        var n3=document.querySelector('.n3')
        var t=60;
        var time=setInterval(function(){
            t--
            n3.innerHTML=t
            if(t==0){
                t=60
            }
        },1000)
        var n2=document.querySelector('.n3')
        var t2=60;
        var time=setInterval(function(){
            t2--
            n2.innerHTML=t2
            if(t2==0){
                t2=60
            }
        },1000)
    </script>
</body>
</html>